#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
注释说明
"""

__author__ = 'hubert'

import os
import random
import platform
import sys
import re


def test_platform():
    os_type = platform.system()
    if os_type == 'Darwin':
        print("苹果系统")
    elif os_type == 'Windwos':
        print("微软系统")
    elif os_type == 'Linux':
        print("linux")
    else:
        print("其他操作系统")

    print(sys.platform)
    print(platform.machine())



def test_stat_page():
    start_num = 20
    start_page = 0
    totle_page = 6000
    for i in range(int(totle_page/(20 * 10) + 1 - start_num)):
        start_num += i
        start_page = start_num * 20 * 10
        print(i, start_page)
        if start_page == totle_page:
            break

def test_parret(name):
    p2 = re.compile(u'[^\u4e00-\u9fa5]')
    result = p2.split(name)
    print(result)


if __name__ == '__main__':

    name = "伊普克雷斯档案 第一季 The Ipcress File Season 1(2022)"

    test_parret(name)

